package com.ll.domain.yhj.dto;

import com.ll.domain.yhj.enums.FileTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文件对象
 *
 * @author WuHen
 * @date 2022/01/15 15:44
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class YhjFileDTO {
    @ApiModelProperty(value = "id", example = "1")
    private Long id;

    @ApiModelProperty(value = "文件名称", example = "文件")
    private String name;

    @ApiModelProperty(value = "类型", example = "音乐")
    private FileTypeEnum type;

    @ApiModelProperty(value = "路径", example = "http://xxx.com/asdaasd.mp3")
    private String url;

}
